package com.ljx.rabbit.service;

import com.ljx.rabbit.domain.dto.AddCartDTO;
import com.ljx.rabbit.domain.po.Cart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.rabbit.domain.vo.OrderSubmitVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-01-21
 */
public interface ICartService extends IService<Cart> {

    void addCart(AddCartDTO addCartDTO);

    void mergeCart(List<AddCartDTO> list);

    OrderSubmitVO preOrder(Long id);
}
